#ifndef __MEMWORDWIDGET_H_
#define __MEMWORDWIDGET_H_

#include <ZKbMainWidget.h>
#include <ZSoftKey.h>
#include <ZNavTabWidget.h>
#include <qapplication.h>
#include <qevent.h>
#include <RES_ICON_Reader.h>

#include "codec.h"
#include "searchWordWidget.h"
#include "memWordTab.h"

class memWordWidget : public ZKbMainWidget{
	Q_OBJECT
public:
	memWordWidget();
	~memWordWidget();
	virtual void keyPressEvent(QKeyEvent *e);
	virtual void keyReleaseEvent(QKeyEvent *e);
private:
	ZSoftKey *SoftKey;
	ZNavTabWidget *tabWidget;
	searchWordWidget *msearchWordWidget;
	memWordTab *mMemWordTab;
	memWordTab *mMemWordTab2;
	void setSoftKeySearch();
	void setSoftKeyMem();
	void createTabWidget();
public slots:
    void slotCurrentChanged(QWidget *);
	void slotMemWordSoftKeyChanged();
};

#endif /* __MEMWORDWIDGET_H_ */

